package com.xlhj.dynamic.common;

import lombok.Getter;

/**
 * @author: caijliu
 * @description: ResultEnum
 * @data: 06/08/2021 12:39
 */
@Getter
public enum ResultEnum {

    SUCCESS(200, "成功"),
    FAIL(500, "失败");

    private int code;
    private String message;

    ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
